﻿using System;

namespace ATC
{
    class Program
    {
        static void Main(string[] args)
        {
            cl_0423_AbstractATC atcs = new cl_0423_Mediator();

            cl_0423_TrafficControl flight1, flight2, flight3, flight4;

            flight1 = new cl_0423_AirStop("100航班");
            flight2 = new cl_0423_AirFly("101航班");
            flight3 = new cl_0423_AirStop("102航班");
            flight4 = new cl_0423_AirFly("103航班");
           

            atcs.InScope(flight1);
            atcs.InScope(flight2);
            atcs.InScope(flight3);
            atcs.InScope(flight4);
           
/*
            flight1.ChooseWay("a站点");
            flight2.ChooseWay("飞行");
            flight3.ChooseWay("b站点");
            flight4.ChooseWay("飞行");
          
*/
            Console.ReadKey();

        }
    }
}
